package Core.Map;

public class TileEdge
{
	private TileVertex _firstVertex;
	private TileVertex _secondVertex;
	private double _cost;
	
	public TileEdge(TileVertex firstVertex, TileVertex secondVertex, double cost)
	{
		this._firstVertex = firstVertex;
		this._secondVertex = secondVertex;
		this._cost = cost;
	}
	
	public TileVertex getFirstVertex()
	{
		return this._firstVertex;
	}
	
	public TileVertex getSecondVertex()
	{
		return this._secondVertex;
	}
	
	public double getCost()
	{
		return this._cost;
	}
}
